//
//  Common.swift
//  SinaWeiBo
//
//  Created by King.Kong. on 16/5/20.
//  Copyright © 2016年 King.Kong. All rights reserved.
//

import UIKit

let ScreenWidth = UIScreen.mainScreen().bounds.width
let ScreenHeight = UIScreen.mainScreen().bounds.height



let client_id = "3682221638"
let client_secret = "87b58f3ed4bd7ff5f9a407b463f863fc"
let redirect_uri = "http://www.baidu.com"


// 通知名称
let SwitchRootViewController = "SwitchRootViewController"
//插入表情的通知
let EmoticonBtnDidClickNotification = "EmoticonBtnDidClickNotification"

// 通用错误信息
let AppErrorTip = "您的网络君正在睡觉,请检查您的网络"

// 随机色

func randomColor() -> UIColor {
    
    let r = CGFloat(random() % 256) / 255.0
    let g = CGFloat(random() % 256) / 255.0
    let b = CGFloat(random() % 256) / 255.0
    return UIColor(red: r, green: g, blue: b, alpha: 1.0)
}

let sharedDF = NSDateFormatter()

